#include <iostream>
#include <cctype>

using std::cin;
using std::cout;
using std::endl;
using std::string;

int main()
{
	string original;
	cin >> original;
	
	string skip_puc;
	for(string::size_type ix = 0; ix < original.size(); ix++)
	{
		if(!ispunct(original[ix]))
		{
			skip_puc += original[ix];
		}
	}

	cout << skip_puc << endl;
	return 0;
}
